FROM openjdk:8
WORKDIR /app
COPY ./target/*.jar /app/server.jar
EXPOSE 80
ENTRYPOINT ["java","-jar", "-Dserver.port=80", "-Dspring.profiles.active={{env}}", "/app/server.jar"]